package com.hzlj.position.locate.common.dto.abnNightActivity;

import com.fz.common.base.enums.db.LikeType;
import com.fz.common.base.enums.db.QueryField;
import com.fz.common.base.enums.db.RangeType;
import com.hzlj.position.locate.common.model.AbnNightActivity;
import com.hzlj.sqjz.jz.common.model.JzJbxx;
import lombok.Data;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * 定位分析-夜间活动表(AbnNightActivity)查询参数DTO
 *
 * @author lifh
 * @date 2023-03-28 18:38:38
 */
@Data
@ToString
@Accessors(chain = true)
public class AbnNightActivityQueryParamDTO {
    /**
     * 机构Code(前缀匹配)
     */
    @QueryField(model = JzJbxx.class, like = LikeType.RIGHT)
    private String jgCode;
    /**
     * 姓名(全模糊匹配)
     */
    @QueryField(model = JzJbxx.class, like = LikeType.ALL)
    private String xm;
    /**
     * 重点人员
     */
    @QueryField(model = JzJbxx.class)
    private Boolean zdry;
    /**
     * 分析开始时间
     */
    @QueryField(model = AbnNightActivity.class, range = RangeType.GTE, value = "startTime")
    private Date startTime;
    /**
     * 分析结束时间
     */
    @QueryField(model = AbnNightActivity.class, range = RangeType.LTE, value = "endTime")
    private Date endTime;
    /**
     * 处理状态,dict-HANDLE_STATUS
     */
    @QueryField(model = AbnNightActivity.class)
    private String handleStatus;
}
